/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.wanhai.itm.wditm133.vm;

import java.util.HashMap;
import java.util.Map;
import org.zkoss.bind.annotation.Command;
import org.zkoss.bind.annotation.ContextParam;
import org.zkoss.bind.annotation.ContextType;
import org.zkoss.zk.ui.Component;
import org.zkoss.zk.ui.Executions;
import org.zkoss.zul.Window;

/**
 *
 * @author m2434
 */
public class Wditm133ReportVM {
    
    @Command("prePieChart")
    public void prePieChart(@ContextParam(ContextType.VIEW) Component view){
        Map args = new HashMap();
        
        Window popupWin = (Window)Executions.createComponents("../wditm133/wditm133_pieChart.zul", view, args);
        popupWin.doModal();
    }
    
}
